github.com/go-pg/pg/v10/orm.Table.hasFlag (method)

19 uses

	github.com/go-pg/pg/v10/orm (current package)
		model_table_slice.go#L98: 	if m.table.hasFlag(afterSelectHookFlag) {
		model_table_slice.go#L105: 	if m.table.hasFlag(beforeInsertHookFlag) {
		model_table_slice.go#L112: 	if m.table.hasFlag(afterInsertHookFlag) {
		model_table_slice.go#L119: 	if m.table.hasFlag(beforeUpdateHookFlag) && !m.IsNil() {
		model_table_slice.go#L126: 	if m.table.hasFlag(afterUpdateHookFlag) {
		model_table_slice.go#L133: 	if m.table.hasFlag(beforeDeleteHookFlag) && !m.IsNil() {
		model_table_slice.go#L140: 	if m.table.hasFlag(afterDeleteHookFlag) && !m.IsNil() {
		model_table_struct.go#L169: 	if !m.table.hasFlag(beforeScanHookFlag) {
		model_table_struct.go#L178: 	if !m.table.hasFlag(afterScanHookFlag) || !m.structInited {
		model_table_struct.go#L201: 	if m.table.hasFlag(afterSelectHookFlag) {
		model_table_struct.go#L208: 	if m.table.hasFlag(beforeInsertHookFlag) {
		model_table_struct.go#L215: 	if m.table.hasFlag(afterInsertHookFlag) {
		model_table_struct.go#L222: 	if m.table.hasFlag(beforeUpdateHookFlag) && !m.IsNil() {
		model_table_struct.go#L229: 	if m.table.hasFlag(afterUpdateHookFlag) && !m.IsNil() {
		model_table_struct.go#L236: 	if m.table.hasFlag(beforeDeleteHookFlag) && !m.IsNil() {
		model_table_struct.go#L243: 	if m.table.hasFlag(afterDeleteHookFlag) && !m.IsNil() {
		model_table_struct.go#L256: 	if m.table.hasFlag(discardUnknownColumnsFlag) || col.Name[0] == '_' {
		query.go#L1031: 	if q.tableModel != nil && q.tableModel.Table().hasFlag(beforeInsertHookFlag) {
		table.go#L164: func (t *Table) hasFlag(flag uint16) bool {